package com.dhu.dao;

import com.dhu.pojo.UserLikePost;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserLikePostMapper {
    // 是否点赞
    UserLikePost isLike (int userId, int postId);
    // 点赞
    int like (int userId, int postId);
    // 取消点赞
    int disLike (int userId, int postId);
}
